WPO\WC\PDF_Invoices\Documents\Order_Document_Methods D

Total Complexity 232
Dependencies 2
Dependents 0
Total lines 1,166
Lines of code 796
Logical lines of code 437
Comment lines 223
Methods 64
Properties 0

Methods 64

Method Rating Maintainability Complexity Lines of code
get_tax_rate()
B
41 19 47
get_thumbnail()
A
43 15 41
get_woocommerce_totals()
A
43 15 40
get_order_notes()
A
44 14 45
get_custom_field()
A
52 13 22
get_order_items()
A
41 11 50
get_tax_rates_from_order()
A
51 11 25
get_product_attribute()
A
53 8 22
get_order_discount()
S
51 6 28
order_notes()
S
56 6 17
ships_to_different_address()
S
51 5 28
get_formatted_item_price()
S
59 6 12
is_order_prop()
S
43 2 54
get_shipping_address()
S
56 4 18
get_order_fees()
S
56 4 18
get_order_taxes()
S
56 4 16
get_tax_rate_by_id()
S
59 4 14
get_thumbnail_id()
S
63 4 11
get_shipping_notes()
S
61 4 11
show_billing_address()
S
67 4 7
custom_field()
S
65 4 9
show_shipping_address()
S
67 4 7
get_phone()
S
65 4 8
get_billing_address()
S
60 3 14
get_invoice_number()
S
63 3 11
get_billing_email()
S
64 3 9
get_order_shipping()
S
58 2 15
get_order_grand_total()
S
58 2 15
get_shipping_phone()
S
68 3 7
get_payment_method()
S
62 2 11
get_tax_rate_ids()
S
62 2 11
get_order_date()
S
62 2 11
get_invoice_date()
S
68 2 7
get_order_subtotal()
S
64 2 9
get_document_notes()
S
69 2 7
document_notes()
S
68 2 8
calculate_tax_rate()
S
64 2 9
get_refund_parent()
S
68 2 8
get_order_number()
S
64 2 10
shipping_phone()
S
80 1 3
invoice_date()
S
81 1 3
billing_address()
S
81 1 3
invoice_number()
S
81 1 3
billing_email()
S
81 1 3
get_billing_phone()
S
75 1 4
wc_price()
S
79 1 3
format_price()
S
72 1 5
shipping_notes()
S
81 1 3
billing_phone()
S
81 1 3
order_grand_total()
S
75 1 4
shipping_address()
S
81 1 3
order_date()
S
81 1 3
product_attribute()
S
79 1 3
order_discount()
S
75 1 4
get_current_date()
S
78 1 3
order_shipping()
S
75 1 4
current_date()
S
81 1 3
order_subtotal()
S
75 1 4
payment_method()
S
81 1 3
get_shipping_method()
S
71 1 5
shipping_method()
S
81 1 3
order_number()
S
81 1 3
get_refund_parent_id()
S
81 1 3
is_refund()
S
80 1 3